- Title
- Accelerating Code Search with Deep Hashing and Code Classification
- Creator
- Gu, Wenchao; Wang, Yanlin; Du, Lun; Zhang, Hongyu; Han, Shi; Zhang, Dongmei; Lyu, Michael R.
- Relation
- 60th Annual Meeting of the Association for Computational Linguistics, ACL 2022. Proceedings of the 60th Annual Meeting of the Association-for-Computational-Linguistics (ACL), Vol. 1 (Dublin, Ireland 22 May, 2022) p. 2534-2544
- Relation
- https://www.2022.aclweb.org/papers
- Publisher
- Association for Computational Linguistics
- Resource Type
- conference paper
- Date
- 2022
- Description
- Code search is to search reusable code snippets from source code corpus based on natural languages queries. Deep learning-based methods on code search have shown promising results. However, previous methods focus on retrieval accuracy, but lacked attention to the efficiency of the retrieval process. We propose a novel method CoSHC to accelerate code search with deep hashing and code classification, aiming to perform efficient code search without sacrificing too much accuracy. To evaluate the effectiveness of CoSHC, we apply our method on five code search models. Extensive experimental results indicate that compared with previous code search baselines, CoSHC can save more than 90% of retrieval time meanwhile preserving at least 99% of retrieval accuracy.
- Subject
- code search; classification; deep hashing; deep learning
- Identifier
- http://hdl.handle.net/1959.13/1480336
- Identifier
- uon:50483
- Identifier
- ISSN:2331-8422
- Language
- eng
- Reviewed
- Hits: 449
- Visitors: 449
- Downloads: 0
Thumbnail | File | Description | Size | Format |
---|